package com.bank.entity.vo;

import lombok.Data;

/**
 * @author: Lixy
 * @email: 1908598362@qq.com
 * @date: 2021/12/31 星期五 20:11
 */
@Data
public class PageResponse {
    private Integer code;
    private String msg;
    private Long count;
    private Object data;

    public PageResponse code(Integer code){
        this.code = code;
        return this;
    }


    public PageResponse msg(String msg){
        this.msg = msg;
        return this;
    }

    public PageResponse data(Object data){
        this.data = data;
        return  this;
    }


    public  PageResponse count(Long count){
        this.count=count;
        return this;
    }

}
